{"version":3,"file":"static/chunks/pages/[...all]-db17297df1595860.js","mappings":"sFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,YACA,WACA,OAAeC,EAAQ,MACvB,EACA,iHCGAC,CAAAA,EAAA,QAJc,GACL,GAAAC,EAAAC,GAAA,EAACC,EAAAA,CAAIA,CAAAA,CAACC,YAAaA","sources":["webpack://_N_E/?006e","webpack://_N_E/./src/pages/[...all].tsx"],"sourcesContent":["\n    (window.__NEXT_P = window.__NEXT_P || []).push([\n      \"/[...all]\",\n      function () {\n        return require(\"private-next-pages/[...all].tsx\");\n      }\n    ]);\n    if(module.hot) {\n      module.hot.dispose(function () {\n        window.__NEXT_P.push([\"/[...all]\"])\n      });\n    }\n  ","import { getRenderGraph } from '../utils/getRenderGraph'\nimport Page from '../components/Page/Page'\nimport { initializeApollo } from '../lib/apolloClient'\nimport { gql } from '@apollo/client'\n\nconst Index = (renderGraph: any) => {\n  return <Page renderGraph={renderGraph} />\n}\n\nexport default Index\n\nexport const getStaticProps = async ({ params }) => await getRenderGraph(`/${params.all.join('/')}`)\n\nexport async function getStaticPaths() {\n  const apolloClient = initializeApollo()\n  let paths = null\n\n  try {\n    const options = {\n      query: gql`\n        query {\n          allPagePaths\n        }\n      `,\n    }\n    const response = await apolloClient.query(options)\n    paths = response.data.allPagePaths\n  } catch (e) {\n    console.error('Error retrieving allPagePaths', JSON.stringify(e, null, '  '))\n  }\n  return { paths, fallback: false }\n}\n"],"names":["window","__NEXT_P","push","__webpack_require__","__webpack_exports__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","Page","renderGraph"],"sourceRoot":""}